window: Hide windows on destroy
authorMatthias Clasen <mclasen@redhat.com>
Tue, 12 May 2020 15:10:36 +0000 (11:10 -0400)
committerMatthias Clasen <mclasen@redhat.com>
Tue, 12 May 2020 15:10:36 +0000 (11:10 -0400)
commitffcffcd77326b0357e37a231404b4acd5d2ab238
tree07aa8097d29bdd99fcd63a70254a93243015a095
parent6df8bf7dde71fe00ade729a36d8bdcd27dd1c188
window: Hide windows on destroy

I thought I could get away with just unrealizing the
window, but it turns out that gtk_window_hide() is the
place where we remove grabs when a modal dialog goes
away, so we ended up with stuck grabs.
gtk/gtkwindow.c